package com.ykl.base.restful;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class ByIdForm implements Serializable {

    @NotNull(message = "唯一标识不能为空")
    @Length(min = 24, max = 24, message = "唯一标识长度应为24字符")
    private String id;

}
